var editor;
KindEditor.ready(function(K) {
	editor = K.create('textarea[class="editor"]', {
		resizeType : 1,
		allowPreviewEmoticons : false,
		uploadJson : 'kindeditor/upload_json.php',
		fileManagerJson : 'kindeditor/file_manager_json.php',
		items : ['fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline',
				'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist',
				'insertunorderedlist', '|', 'emoticons', 'image', 'link','page']
	});
});